package com.hezhou.jenkins.my_jenkins_test.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * ---------------------------
 * (MyException) 我的异常处理
 * ---------------------------
 *
 * @Author: [hezhou]
 * @Date: 2020/4/23
 * @Version: [1.0.1]
 * ---------------------------
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
public class MyException extends RuntimeException{

    /**
     * 错误码
     */
    protected Long errorCode;

    /**
     * 错误信息
     */
    protected String errorMsg;

}
